package com.intelligentcar.springboot.mapper;

import com.intelligentcar.springboot.bean.Vehicleplan;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface VehicleplanMapper {
    //车辆排班
    public int vehicleSchedulinga(Vehicleplan vehicleplan);

    //根据车牌号查看车辆排班表中的数据
    public List<Vehicleplan> selectvehicleSchedulinga(Vehicleplan vehicleplan, RowBounds rowBounds);

    //根据线路查看车辆排班表中的数据
    public List<Vehicleplan> selectvehicleSchedulingax(Vehicleplan vehicleplan, RowBounds rowBounds);

    //根据车牌号查看车辆排班表中有几条数据
    public int countvehicleSchedulinga(Vehicleplan vehicleplan);

    //根据线路查看车辆排班表中有几条数据
    public int countvehicleSchedulingax(Vehicleplan vehicleplan);

    //查询车辆排班表中的所有数据
    public List<Vehicleplan> selectVehicleplan(RowBounds rowBounds);

    //根据车牌号查看车辆信息表的数据
    public List<Vehicleplan> lookvehicleplan(Vehicleplan vehicleplan);

    //查询有几条数据
    public int count ();
}
